Q3UnixPathStorage_New
You can use theQ3UnixPathStorage_New
function to create a new UNIX storage object specified using a path name.
TQ3StorageObject Q3UnixPathStorage_New (const char *pathName);
pathName
- A path name of a file. The path name is a null-terminated C string.
DESCRIPTION
TheQ3UnixPathStorage_New
function returns, as its function result, a new storage object associated with the file specified by thepathName
parameter. The specified file is assumed to be closed. QuickDraw 3D opens the file (by callingfopen
) and, when the associated storage object is closed or disposed of, QuickDraw 3D closes the file (by callingfclose
). IfQ3UnixPathStorage_New
cannot create a new storage object, it returns the valueNULL
.ERRORS
kQ3ErrorOutOfMemory
kQ3ErrorNULLParameter